SRCS = \
	queue.cc list01.cc hashlist01.cc hashtable01.cc thread01.cc sio01.cc
OUTS = $(SRCS:.cc=.x)

CXX = @CXX@
CFLAGS = @CFLAGS@ -I@abs_top_builddir@
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/xp/bas -L@abs_top_builddir@/xpp/bas
LIBS = @LIBS@ -lxppbas -lxpbas

all: $(OUTS)

clean:
	rm -rf $(OUTS) *.o

.SUFFIXES: .cc .x
.cc.x:
	$(CXX) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)
